import { useSearchParams } from "react-router-dom";

function About() {
 
    const [searchParams] = useSearchParams();
    const { id, uid } = Object.fromEntries(searchParams);
    
    return ( 
        <div>
            <h1>About</h1>
            <h2>id: {id}</h2>
            <h2>uid: {uid}</h2>
        </div>
     );
}

export default About;